package com.CGFrame.struts.POJOs;

import java.util.Date;


/**
 * Loghistory entity. @author MyEclipse Persistence Tools
 */

public class Loghistory  implements java.io.Serializable {


    // Fields    

     private Integer logId;
     private Reguser reguser;
  // operateType: 1=login 2=query 3=add 4=modify 5=delete 6=o
     private Integer operateType;
     private String operation;
     private Date createTime;
     private String objectType;
     private Integer objectId;


    // Constructors

    /** default constructor */
    public Loghistory() {
    }

	/** minimal constructor */
    public Loghistory(Reguser reguser, Integer operateType, Date createTime) {
        this.reguser = reguser;
        this.operateType = operateType;
        this.createTime = createTime;
    }
    
    /** full constructor */
    public Loghistory(Reguser reguser, Integer operateType, String operation, Date createTime, String objectType, Integer objectId) {
        this.reguser = reguser;
        this.operateType = operateType;
        this.operation = operation;
        this.createTime = createTime;
        this.objectType = objectType;
        this.objectId = objectId;
    }

   
    // Property accessors

    public Integer getLogId() {
        return this.logId;
    }
    
    public void setLogId(Integer logId) {
        this.logId = logId;
    }

    public Reguser getReguser() {
        return this.reguser;
    }
    
    public void setReguser(Reguser reguser) {
        this.reguser = reguser;
    }

    public Integer getOperateType() {
        return this.operateType;
    }
    
    public void setOperateType(Integer operateType) {
        this.operateType = operateType;
    }

    public String getOperation() {
        return this.operation;
    }
    
    public void setOperation(String operation) {
        this.operation = operation;
    }

    public Date getCreateTime() {
        return this.createTime;
    }
    
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getObjectType() {
        return this.objectType;
    }
    
    public void setObjectType(String objectType) {
        this.objectType = objectType;
    }

    public Integer getObjectId() {
        return this.objectId;
    }
    
    public void setObjectId(Integer objectId) {
        this.objectId = objectId;
    }
   








}